<%@ page language="java" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<div class="ui stackable orange inverted menu">
	<c:forEach var="item" items="${descTree}" varStatus="status">
		<c:set var="key" value="${item.key}" />
		<a class='item' href="#${subject}_${status.index }">${key }</a>
	</c:forEach>
</div>

<c:forEach var="firstItem" items="${descTree}" varStatus="status">
	<c:set var="firstKey" value="${firstItem.key}" />
	<div class="schInfoSubT">
		<div class="ui teal header">
			<a name="${subject}_${status.index }"></a> ${firstKey }
		</div>
	</div>
	<c:forEach var="secondItem" items="${firstItem.value }"
		varStatus="secondStatus">
		<c:set var="secondKey" value="${secondItem.key}" />
		<div class="ui sub grey tiny block header">${secondKey }</div>
		<div class="ui stackable grid container">
			<c:forEach var="thirdItem" items="${secondItem.value }"
				varStatus="thirdStatus">
				<div class="four wide fitted column">
					<a class="item"
						href="/major/${thirdItem.description_id }/base.html"
						target="_blank">${ thirdItem.description_name}</a>
				</div>
			</c:forEach>
		</div>

	</c:forEach>
</c:forEach>